//
//  KDSBodyView.h
//  PublicSentimentMonitorSystem
//
//  Created by 魏强 on 15/11/25.
//  Copyright © 2015年 魏强. All rights reserved.
//

#import <UIKit/UIKit.h>
@class KDGetSaerchListParam;
@protocol KDSBodyViewDelegate;
@interface KDSBodyView : UIView
/**
 *  全网0；微博1；
 */
@property (nonatomic, assign) NSInteger type;

@property (nonatomic, assign, getter=isBack) BOOL back;


+ (instancetype)bodyViewWithFrame:(CGRect)frame;
@property (nonatomic, weak) id<KDSBodyViewDelegate> delegate;

@end
@protocol KDSBodyViewDelegate <NSObject>

/**
 *  tableView被点击了
 */
- (void)KDSBodyView :(KDSBodyView *)bodyView WithModel:(KDGetSaerchListParam *)model didSelectRowAtIndexPath:(NSIndexPath *)indexPath;
/**
 *  搜索按钮被点击了
 */
- (void)KDSBodyView:(KDSBodyView *)bodyView SearchBtnClickWithSearchModel:(KDGetSaerchListParam *)searchModel;
- (void)areaBtnClickWithBodyView:(KDSBodyView *)bodyView;
@end